package com.pray.praymall.ware.feign;

import com.pray.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * do something
 *
 * @author 魂悸魄
 * @date 2020/10/9 12:19
 */
@FeignClient("praymall-order")
public interface OrderFeignService {
    @GetMapping("/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable String orderSn);
}
